package cn.source.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;
/**
 * 角色管理对象 t_role
 *
 * @author gygl
 * @date 2023-08-30
 */
public class Role2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 编号id */
    @Excel(name = "编号id")
    private Long id;
    /** 角色层级 */
    @Excel(name = "角色层级")
    private Long roleRank;
    /** 角色层级说明 */
    @Excel(name = "角色层级说明")
    private String roleRankName;
    /** 角色账号 */
    @Excel(name = "角色账号")
    private String roleUser;
    /** 角色账号姓名 */
    @Excel(name = "角色账号姓名")
    private String roleUserName;
    /** 部门id */
    @Excel(name = "部门id")
    private String deptId;
    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;
    /** 父级部门id */
    @Excel(name = "父级部门id")
    private String deptFid;
    /** 父级部门名称 */
    @Excel(name = "父级部门名称")
    private String deptFname;
    /** 当前角色创建账号 */
    @Excel(name = "当前角色创建账号")
    private String createUser;
    /** 当前角色创建人姓名 */
    @Excel(name = "当前角色创建人姓名")
    private String createName;
    /** 当前角色修改账号 */
    @Excel(name = "当前角色修改账号")
    private String updateUser;
    /** 当前角色修改人姓名 */
    @Excel(name = "当前角色修改人姓名")
    private String updateName;
    /** 状态：1启用，-1未启用 */
    @Excel(name = "状态：1启用，-1未启用")
    private Long flag;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setRoleRank(Long roleRank)
    {
        this.roleRank = roleRank;
    }
    public Long getRoleRank()
    {
        return roleRank;
    }
    public void setRoleRankName(String roleRankName)
    {
        this.roleRankName = roleRankName;
    }
    public String getRoleRankName()
    {
        return roleRankName;
    }
    public void setRoleUser(String roleUser)
    {
        this.roleUser = roleUser;
    }
    public String getRoleUser()
    {
        return roleUser;
    }
    public void setRoleUserName(String roleUserName)
    {
        this.roleUserName = roleUserName;
    }
    public String getRoleUserName()
    {
        return roleUserName;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }
    public String getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }
    public String getDeptName()
    {
        return deptName;
    }
    public void setDeptFid(String deptFid)
    {
        this.deptFid = deptFid;
    }
    public String getDeptFid()
    {
        return deptFid;
    }
    public void setDeptFname(String deptFname)
    {
        this.deptFname = deptFname;
    }
    public String getDeptFname()
    {
        return deptFname;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }
    public String getCreateUser()
    {
        return createUser;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }
    public String getCreateName()
    {
        return createName;
    }
    public void setUpdateUser(String updateUser)
    {
        this.updateUser = updateUser;
    }
    public String getUpdateUser()
    {
        return updateUser;
    }
    public void setUpdateName(String updateName)
    {
        this.updateName = updateName;
    }
    public String getUpdateName()
    {
        return updateName;
    }
    public void setFlag(Long flag)
    {
        this.flag = flag;
    }
    public Long getFlag()
    {
        return flag;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roleRank", getRoleRank())
            .append("roleRankName", getRoleRankName())
            .append("roleUser", getRoleUser())
            .append("roleUserName", getRoleUserName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("deptFid", getDeptFid())
            .append("deptFname", getDeptFname())
            .append("createUser", getCreateUser())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("flag", getFlag())
            .toString();
    }
}
